package mirrormonkey.core.messages;

import mirrormonkey.framework.entity.EntityData;

import com.jme3.network.Message;
import com.jme3.network.serializing.Serializable;

@Serializable
public class EntityEndMessage implements Message {

	public int entityId;

	public EntityEndMessage() {
	}

	public EntityEndMessage(EntityData data) {
		this.entityId = data.getId();
	}

	@Override
	public boolean isReliable() {
		return true;
	}

	@Override
	public Message setReliable(boolean reliable) {
		return this;
	}

}
